export type RoleType = '' | '*' | 'admin' | 'user';
export interface UserState {
  // userName?: string;
  // avatar?: string;
  // job?: string;
  // organization?: string;
  // location?: string;
  // email?: string;
  // introduction?: string;
  // personalWebsite?: string;
  // jobName?: string;
  // organizationName?: string;
  // locationName?: string;
  // phone?: string;
  // registrationDate?: string;
  // accountId?: string;
  // certification?: number;
  role?: RoleType;
  admin?: boolean;
  avatar?: string;
  createBy?: string;
  createTime?: string;
  delFlag?: string;
  email?: string;
  loginDate?: string;
  loginIp?: string;
  nickName?: string;
  params?: object;
  phonenumber?: string;
  postIds?: string;
  remark?: string;
  roleId?: string;
  roleIds?: string;
  roles?: Array<any>;
  salt?: string;
  searchValue?: string;
  sex?: string;
  status?: string;
  updateBy?: string;
  updateTime?: string;
  userId?: number;
  userName?: string;
  userType?: string;
  dept?: {
    deptName: string;
  };
  deptId?: number;
  permissions?: string[];
}
